<f:layout name="Default" />

This template displays a EDIT form for the current domain object.

If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
  Resources:
    Private:
      Templates:
        Edit.html: keep

Otherwise your changes will be overwritten the next time you save the extension in the extension builder

<f:section name="main">
<h1>Edit "{page.title}"</h1>

<f:flashMessages />

<f:render partial="FormErrors" arguments="{object:Page}"/>

<f:form action="update" name="page" object="{page}" >
	<f:render partial="Page/FormFields" arguments="{page:page}" />
	
	<fieldset class="ui-grid-a">
		<div class="ui-block-a">
			<f:form.submit additionalAttributes="{data-role:'button', data-theme:'b', data-icon:'check'}" value="Save" />
		</div>
		<div class="ui-block-b">
			<f:link.action action="delete" additionalAttributes="{data-role:'button', data-theme:'c', data-icon:'delete'}">Supprimer</f:link.action>
		</div>	   
	</fieldset>
</f:form>

</f:section>